package com.joven.interface3.webservice;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

/**
 * @author joven_wong
 * 2021/6/25 15:50
 */
@WebService(name = "CommonService", // 暴露服务名称
        targetNamespace = "http://webservice.interface3.joven.com/"// 命名空间,一般是接口的包名倒序
)
public interface CommonService {

    @WebMethod//在wsdl文档中显示的方法名，可不指定默认与方法相同；@WebMethod可不指定(operationName = "")
    @WebResult(name = "String")
    public String sayHello(@WebParam(name = "name") String name);
}
